#pragma once

template <typename T>
class SingleTon
{
	SingleTon(){}

public:

	static T& Instance();
};

template <typename T> T& SingleTon<T>::Instance()
{
	static T instance;

	return instance;
}